export interface ResponseData {
  code: number
  message: string
  ok: boolean
}

export interface Itrademark {
  id: number
  createTime: string
  updateTime: string
  logoUrl: string
  tmName: string
}

export interface listData {
  countId: number | any
  current: number
  hitCount: boolean
  maxLimit: number | any
  optimizeCountSql: boolean
  orders: any[]
  pages: number
  records: Itrademark[]
  searchCount: boolean
  size: number
  total: number
}

export interface ItrademarkListResponse extends ResponseData {
  data: listData
}

export interface IDataForm {
  page: number
  limit: number
}

// 添加品牌form
export interface ItrademarkForm {
  id?: number | string
  logoUrl: string
  tmName: string
}

// 添加品牌
export interface ItrademarkAddResponse extends ResponseData {
  data: null
}
